package com.iwunu.gateway.util;

public class CheckMacUtil {
	
	/**
	 **检测数据
	 * @param macs
	 * @return
	 */
	public static boolean checkMac(String macs) {
		String mac[] = macs.split(":").toString().split(",");
		for(String device : mac) {
			if(device.length()!=8) {
				return false;
			}
		}
		return true;
	}

}
